<template>
	<view class="admin">
		<van-cell-group inset>
		  <van-cell title="分类管理" is-link @click="goPage('cate')" />
		  <van-cell title="商品" @click="goPage('goods')" is-link />
		</van-cell-group>

	</view> 
</template>

<script>
	export default{
		methods:{
			goPage(url){
				let router = {
					cate:"/pages/categury/list",
					goods:"/uni_modules/goods/pages/goods/list"
				};
				uni.navigateTo({
					url:router[url]
				})
			}
		}
	}
</script>

<style>
</style>